package com.qf.sy2103.ssm.Util;


//定义常量的类
public class Constant {

    public static final int USER_REGIST_SUCCESS = 1001;//注册成功
    public static final int USER_REGIST_FALE = 1002;//注册失败
    public static final int USER_LOGIN_FALE = 1003;//登录成功
    public static final int USER_LOGIN_NON = 1004;//用户名密码错误
    public static final int USER_LOGIN_SUCCESS = 1005;//登陆成功
    public static final int USER_VIEWS_SUCCESS = 1006;//增加用户成功
    public static final int USER_VIEWS_FALE = 1007;//增加用户失败 但是应该是前台判断空才是失败
    public static final int USER_DELETE_SUCCESS= 1008;//删除用户成功
    public static final int USER_DELETE_FALE= 1009;//删除用户失败 同上
    public static final int USER_UPDATE_SUCCESS= 1010;//更新用户成功
    public static final int USER_UPDATE_FALE= 1011;//更新用户失败 同上

    public static final String USER_MSG_NAMEIN = "用户名已被占用";
    public static final String USER_MSG_FALE = "用户注册失败 字段不能为空";
    public static final String USER_MSG_SUCCESS = "用户注册成功";
    public static final String USER_MSG_CODEFILE = "验证码错误";
    public static final String USER_MSG_NOTFIND = "用户名或密码有误";
    public static final String USER_MSGL_SUCCESS = "用户登陆成功";
    public static final String USER_VIEWS_SUCCES = "增加数据成功";
    public static final String USER_VIEWS_FULE = "增加数据失败";
    public static final String USER_DELETE_SUCCES= "删除数据成功";
    public static final String USER_DELETE_FALES= "删除数据失败";
    public static final String USER_UPDATE_SUCCES= "修改数据成功";
    public static final String USER_UPDATE_FALES= "修改数据失败";


    public static final int CLIENT_ADD_SUCCESS= 2001;//增加客户成功
    public static final int CLIENT_UPDATE_SUCCESS= 2002;//修改客户成功
    public static final int CLIENT_DELETE_SUCCESS= 2003;//增加客户成功
    public static final int CLIENT_DELETE_FALE= 2004;//增加客户失败

    public static final String CLIENT_ADD_FILL= "账户名称已存在";
    public static final String CLIENT_ADD_FAL= "增加客户失败";
    public static final String CLIENT_UPDATE_FALE= "修改客户失败";
    public static final String CLIENT_DELETE_FAL= "删除客户失败";
}
